﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MINERP.MODEL.GroupMember;

namespace MINERP.GroupMember.IView
{
    public interface IFrmTasklist
    {
        #region 

        /// <summary>
        /// 当前用户查看的列表的内容1-要完成的，2--查看自已已经完成的
        /// </summary>
        int LookType { get; }

        TaskInfo selectTaskInfo { get; }

        /// <summary>
        /// 用户双击的那个产品ID
        /// </summary>
        int SelectedOrderProductId{get;}
        #endregion

        #region methods
        /// <summary>
        /// 显示任务列表
        /// </summary>
        /// <param name="dtSource"></param>
        void ShowTasks(DataTable dtSource);

        /// <summary>
        /// 关闭窗体
        /// </summary>
        void Close();
        #endregion

        void ShowTasks(DataTable _dtSource, int picCount, double picAreaCount);

        void ShowTasks(List<MINERP.MODEL.GroupMember.TaskInfo> list, int picCount, double picAreaCount);
    }
}
